package com.uvt.agenda.pdf;

/**
 * Created by Cristian Holdunu on 31/01/14.
 * 00:39
 */

import android.content.Context;
import android.os.Environment;
import com.itextpdf.text.*;
import com.itextpdf.text.pdf.*;
import com.itextpdf.text.pdf.draw.VerticalPositionMark;
import com.uvt.agenda.Event;
import com.uvt.agenda.EventsProvider;
import com.uvt.agenda.iterator.EIterator;
import com.uvt.agenda.iterator.EventsContainer;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Locale;

public class PdfCalendar {

    /** Application context */
    protected Context context;

    protected Font normal;
    protected Font small;
    protected Font bold;

    private static PdfCalendar instance;

    public PdfCalendar(Context context) throws DocumentException, IOException {
        this.context = context;

        BaseFont bfNormal = BaseFont.createFont("Helvetica", BaseFont.WINANSI, BaseFont.EMBEDDED);
        normal = new Font(bfNormal, 16);
        small = new Font(bfNormal, 8);
        BaseFont bfBold = BaseFont.createFont("Helvetica", BaseFont.WINANSI,BaseFont.EMBEDDED);
        bold = new Font(bfBold, 14);
    }

}